package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.Driver;
import com.ybkj.daijia.server.model.DriverLogin;

/**
 * @author Shine
 */
public interface DriverLoginService {


    public DriverLogin selectByDriver(Long driverId);

    public DriverLogin selectByToken(String token);

    public void update(DriverLogin driverLogin);

    public void delete(Long id);

    public Integer addPasswordIncorrect(Driver driver);

    public Integer addCodeIncorrect(Driver driver);

}
